package com.qlslylq.ad_x_sdk.comm;

/**
 * 通信key定义<br/>
 * ApiCloud web与native通信key定义<br/>
 */
public interface CommKey {

    /**
     * 广告位相关
     */
    String JH_SPLASH_POS_ID = "JH_SPLASH_POS_ID";//开屏
    String JH_REWARD_POS_ID = "JH_REWARD_POS_ID";//激励
    String JH_FULL_SCREEN_POS_ID = "JH_FULL_SCREEN_POS_ID";//全屏
    String JH_INTERSTITIAL_POS_ID = "JH_INTERSTITIAL_POS_ID";//插屏
    String JH_BANNER_POS_ID = "JH_BANNER_POS_ID";//横幅

    /**
     * Log相关
     */
    String TAG = "tag";
    String TAG_DEF_VALUE = "LogModule";
    String MSG = "msg";

    /**
     * 广告事件相关
     */
    String EVENT_NAME = "eventName";
    String DISLIKE_VALUE = "dislikeValue";
    String ERROR = "error";

    /**
     * 开屏广告相关
     */
    String AD_CONTAINER_WIDTH = "adContainerWidth";
    String AD_CONTAINER_HEIGHT = "adContainerHeight";
    String FETCH_DELAY = "fetchDelay";

    /**
     * 横幅广告相关
     */
    String X = "x";
    String Y = "y";
    String W = "w";
    String H = "h";
    String GRAVITY = "gravity";
    String AD_SIZE = "adSize";
    String SLIDE_INTERVAL_TIME = "slideIntervalTime";
    String ALLOW_SHOW_CLOSE_BTN = "allowShowCloseBtn";

    /**
     * 插屏广告相关
     */
    String AUTO_PLAY_MUTED = "autoPlayMuted";

    /**
     * 激励广告相关
     */
    String USER_ID = "userId";
    String EXTRA_DATA = "extraData";

    /**
     * 普通成功回执相关
     */
    String CODE = "code";
    String DATA = "data";

    /**
     * 路由相关
     */
    String CLASS_NAME = "className";
    String REQUEST_DATA = "requestData";
    String RESULT_DATA = "resultData";

    /**
     * Activity生命周期回调相关
     */
    String ACTIVITY_LIFE_EVENT = "activityLifeEvent";
    String ON_ACTIVITY_RESUME = "onActivityResume";
    String ON_ACTIVITY_PAUSE = "onActivityPause";

    /**
     * 版本相关
     */
    String VERSION_NAME = "versionName";
    String VERSION_CODE = "versionCode";
    String UPDATE_TIME = "updateTime";
}
